//
//  converterViewController.h
//  converter
//
//  Created by klamoree on 9/26/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "informationViewController.h"

@interface converterViewController : UIViewController <UITextFieldDelegate> {
    UIView *viewer;
    UILabel *annuityLabel;
    UITextField *num;
    UITextField *ir;
    UITextField *pv;
    UITextField *pmnt;
    UITextField *fv;
    UIButton *calculatePV;
    UIButton *calculateFV;
    UIButton *infoButton;
    UIButton *closeInfoButton;
    UISegmentedControl *annuityControl;
    
    IBOutlet informationViewController *ivc;
}


@property (nonatomic, retain) IBOutlet UILabel *annuityLabel;
@property (nonatomic, retain) IBOutlet UIButton *calculatePV;
@property (nonatomic, retain) IBOutlet UIButton *calculateFV;
@property (nonatomic, retain) IBOutlet UITextField *num;
@property (nonatomic, retain) IBOutlet UITextField *ir;
@property (nonatomic, retain) IBOutlet UITextField *pv;
@property (nonatomic, retain) IBOutlet UITextField *pmnt;
@property (nonatomic, retain) IBOutlet UITextField *fv;
@property (nonatomic, retain) IBOutlet UIView *viewer;
@property (nonatomic, retain) IBOutlet UISegmentedControl *annuityControl;
@property (nonatomic, retain) IBOutlet UIButton *infoButton;
@property (nonatomic, retain) IBOutlet UIButton *closeInfo;


- (IBAction)doPVButton;
- (IBAction)doFVButton;
- (IBAction)segmentedValueChange;
- (IBAction)doInfoButton;
- (IBAction)doCloseInfoButton;
- (IBAction)checkFields;

- (void)hideKeyboard;

@end
